export interface CategoryType {
  id: string;
  name: string;
  sort: number;
  status: boolean;
  remark?: string;
}

export interface SearchParams {
  name?: string;
  status?: boolean;
  page?: number;
  pageSize?: number;
}

export interface ApiResponse<T = any> {
  code: number;
  data: T;
  message?: string;
}

export interface PaginationConfig {
  total: number;
  pageSize: number;
  current: number;
  onChange: (page: number, pageSize: number) => void;
} 